Imports System.Configuration
Imports System.Configuration.Provider
Imports System.ComponentModel
Imports Microsoft.Practices.EnterpriseLibrary.Common.Configuration

Namespace Configuration
	'''' <summary>
	'''' Represents the configuration data for the $Name$ providers.
	'''' </summary>
	Partial Public Class ApplicationBlockSettings
		Inherits SerializableConfigurationSection

		'''' <summary>
		'''' The name of the configuration section for the $Name$ providers.
		'''' </summary>
		Public Const SectionName As String = "$Name$"

		'''' <summary>
		'''' Initializes a new instance of the <see cref="ApplicationBlockSettings"/> class.
		'''' </summary>
		Public Sub New()
		End Sub

		'''' <summary>
        '''' Retrieves the <see cref="ApplicationBlockSettings"/> section from the configuration source.
		'''' </summary>
		'''' <param name="configurationSource">The <see cref="IConfigurationSource"/> to get the section from.</param>
		'''' <returns>The logging section.</returns>
		Public Shared Function GetApplicationBlockSettings(ByVal configurationSource As IConfigurationSource) As ApplicationBlockSettings
			GetApplicationBlockSettings = CType(configurationSource.GetSection(SectionName), ApplicationBlockSettings)
		End Function
	End Class
End Namespace